package com.ds.api.model;

import java.util.Date;
import java.util.List;

import com.ds.api.utils.DateUtil;

public class SysSheet {
    private Integer stid;

    private Integer fkSendUersBasicinfoUid;

    private Integer fkOrderUersBasicinfoUid;

    private String status;

    private Date fcd;

    private String validityDate;

    private Double price;

    private String workhours;

    private String positionX;

    private String positionY;

    private String isPrice;

    private Double sendPrice;

    private Double accpetPrice;

    private String type;

    private String remark;

    private String userAddress;

    private String orderTime;

    private String pic1;

    private String pic2;

    private Date lmd;

    private Integer fkTypeMachineId;

    private String quantities;
    
    private String fkTypeMachineName;
    
    private String firstName;
    
    private String secondName;
    
    private String thirdName;
    
    private List<TypeModel>typelist;
    
    private String verifyType;
    
    private String usercredit;
    
    private String mobilephone;
    
    private String fcd1;
    
    private String niceName;
    
    private String sendAddress;
   

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String getNiceName() {
        return niceName;
    }

    public void setNiceName(String niceName) {
        this.niceName = niceName;
    }

    public String getFcd1() {
        return fcd1;
    }

    public void setFcd1(Date fcd1) {
        this.fcd1 = DateUtil.toSeconds1(fcd1);
    }

    public String getUsercredit() {
        return usercredit;
    }

    public void setUsercredit(String usercredit) {
        this.usercredit = usercredit;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone;
    }

    public String getVerifyType() {
        return verifyType;
    }

    public void setVerifyType(String verifyType) {
            this.verifyType =verifyType;
    }

    public List<TypeModel> getTypelist() {
        return typelist;
    }

    public void setTypelist(List<TypeModel> typelist) {
        this.typelist = typelist;
    }

    public String getFkTypeMachineName() {
        return fkTypeMachineName;
    }

    public void setFkTypeMachineName(String fkTypeMachineName) {
        this.fkTypeMachineName = fkTypeMachineName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getSecondName() {
        return secondName;
    }

    public void setSecondName(String secondName) {
        this.secondName = secondName;
    }

    public String getThirdName() {
        return thirdName;
    }

    public void setThirdName(String thirdName) {
        this.thirdName = thirdName;
    }

    public Integer getStid() {
        return stid;
    }

    public void setStid(Integer stid) {
        this.stid = stid;
    }

    public Integer getFkSendUersBasicinfoUid() {
        return fkSendUersBasicinfoUid;
    }

    public void setFkSendUersBasicinfoUid(Integer fkSendUersBasicinfoUid) {
        this.fkSendUersBasicinfoUid = fkSendUersBasicinfoUid;
    }

    public Integer getFkOrderUersBasicinfoUid() {
        return fkOrderUersBasicinfoUid;
    }

    public void setFkOrderUersBasicinfoUid(Integer fkOrderUersBasicinfoUid) {
        this.fkOrderUersBasicinfoUid = fkOrderUersBasicinfoUid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getFcd() {
        return fcd;
    }

    public void setFcd(Date fcd) {
        this.fcd = fcd;
    }

    public String getValidityDate() {
        return validityDate;
    }

    public void setValidityDate(String validityDate) {
        this.validityDate = validityDate == null ? null : validityDate.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getWorkhours() {
        return workhours;
    }

    public void setWorkhours(String workhours) {
        this.workhours = workhours == null ? null : workhours.trim();
    }

    public String getPositionX() {
        return positionX;
    }

    public void setPositionX(String positionX) {
        this.positionX = positionX == null ? null : positionX.trim();
    }

    public String getPositionY() {
        return positionY;
    }

    public void setPositionY(String positionY) {
        this.positionY = positionY == null ? null : positionY.trim();
    }

    public String getIsPrice() {
        return isPrice;
    }

    public void setIsPrice(String isPrice) {
        this.isPrice = isPrice == null ? null : isPrice.trim();
    }

    public Double getSendPrice() {
        return sendPrice;
    }

    public void setSendPrice(Double sendPrice) {
        this.sendPrice = sendPrice;
    }

    public Double getAccpetPrice() {
        return accpetPrice;
    }

    public void setAccpetPrice(Double accpetPrice) {
        this.accpetPrice = accpetPrice;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null||"undefined".equals(remark) ? null : remark.trim();
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress == null||"undefined".equals(userAddress)  ? null : userAddress.trim();
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime == null ? null : orderTime.trim();
    }

    public String getPic1() {
        return pic1;
    }

    public void setPic1(String pic1) {
        this.pic1 = pic1 == null ? null : pic1.trim();
    }

    public String getPic2() {
        return pic2;
    }

    public void setPic2(String pic2) {
        this.pic2 = pic2 == null ? null : pic2.trim();
    }

    public Date getLmd() {
        return lmd;
    }

    public void setLmd(Date lmd) {
        this.lmd = lmd;
    }

    public Integer getFkTypeMachineId() {
        return fkTypeMachineId;
    }

    public void setFkTypeMachineId(Integer fkTypeMachineId) {
        this.fkTypeMachineId = fkTypeMachineId;
    }

    public String getQuantities() {
        return quantities;
    }

    public void setQuantities(String quantities) {
        this.quantities = quantities == null||"undefined".equals(quantities) ? null : quantities.trim();
    }
}